<template>
  <div class="not-found-page">
    <div class="error-container">
      <el-result icon="error" title="404" sub-title="抱歉，您访问的页面不存在">
        <template #extra>
          <el-button type="primary" @click="$router.push('/web')"
            >返回首页</el-button
          >
        </template>
      </el-result>
    </div>
  </div>
</template>

<script setup>
// 404页面组件
</script>

<style lang="less" scoped>
.not-found-page {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--bg-color);
}

.error-container {
  text-align: center;
  padding: 20px;
  max-width: 500px;
  width: 100%;
}
</style>
